﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace KCL.Code.Entities
{
    public class User
    {
        public int id { get; set; }
        public string username { get; set; }
        public string password { get; set; }
        public string fullname { get; set; }
        public string email { get; set; }
        public string code { get; set; }
        public bool admin { get; set; }
        public bool read { get; set; }
        public bool create { get; set; }
        public bool edit { get; set; }
        public bool isActive { get; set; }

        public User()
        {
            id = -1;
            username = string.Empty;
            password = string.Empty;
            fullname = string.Empty;
            email = string.Empty;
            code = string.Empty;
            admin = false;
            read = true;
            create = false;
            edit = false;
            isActive = true;
        }
    }
}